package main

import (
	"SalesMangent/function"
	"SalesMangent/pkg/setting"
	"SalesMangent/routers"
	"fmt"
)

func main() {
	setting.Setup()
	function.Setup()
	endpoint := fmt.Sprintf(":%s", setting.ServerSetting.HttpPort)
	routerinit := routers.InitRouter()
	routerinit.Run(endpoint)
}
